/*

*** This do file creates the replication results for 

The Impact of Violence on Tourism - Dynamic Econometric Estimation in a Cross-National Panel, Journal of Conflict Resolution 48 (2), 2004, pp. 259-281

Eric Neumayer (LSE)																			

Please report any errors to e.neumayer@lse.ac.uk

*/

use "Article for JCR data.dta", replace


set matsize 800

* Table 1
quietly reg lnarrivals year
su lnarrivals pandasum bnkviolence uppsalatotconflict prstotal  pts free reer if e(sample)

* Table 2
xi: reg lnarrivals pandasum i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals bnkviolence i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals uppsalatotconflict i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals prstotal  i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts free pandasum i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts free bnkviolence i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts free uppsalatotconflict i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts free prstotal  i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts free reer pandasum i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts free reer bnkviolence i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts free reer uppsalatotconflict i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pts free reer prstotal  i.year i.country ,  cluster(country)
ovtest
xi: reg lnarrivals pandasum bnkviolence pts free uppsalatotconflict i.year i.country ,  cluster(country)
ovtest

* Table 3
xi: xtabond lnarrivals pandasum i.year, robust
xi: xtabond lnarrivals bnkviolence i.year, robust
xi: xtabond lnarrivals uppsalatotconflict i.year, robust
xi: xtabond lnarrivals prstotal  i.year, robust
xi: xtabond lnarrivals pts i.year, robust
xi: xtabond lnarrivals pts free pandasum i.year, robust
xi: xtabond lnarrivals pts free bnkviolence i.year, robust
xi: xtabond lnarrivals pts free uppsalatotconflict i.year, robust
xi: xtabond lnarrivals pts free prstotal  i.year, robust
xi: xtabond lnarrivals pts free reer pandasum i.year, robust
xi: xtabond lnarrivals pts free reer bnkviolence i.year, robust
xi: xtabond lnarrivals pts free reer uppsalatotconflict i.year, robust
xi: xtabond lnarrivals pts free reer prstotal  i.year, robust
xi: xtabond lnarrivals pandasum bnkviolence pts free uppsalatotconflict i.year, robust

* Table 4

preserve
drop if receiptsperexp>6.04
xi: reg lnarrivals pandasum i.year i.country , cluster(country)
ovtest
xi: reg lnarrivals bnkviolence i.year i.country , cluster(country)
ovtest
xi: reg lnarrivals uppsalatotconflict i.year i.country , cluster(country)
ovtest
xi: reg lnarrivals prstotal  i.year i.country , cluster(country)
ovtest
xi: reg lnarrivals pts i.year i.country , cluster(country)
ovtest
restore

preserve
drop if receiptsperexp<=6.04
xi: reg lnarrivals pandasum i.year i.country , cluster(country)
ovtest
xi: reg lnarrivals bnkviolence i.year i.country , cluster(country)
ovtest
xi: reg lnarrivals uppsalatotconflict i.year i.country , cluster(country)
ovtest
xi: reg lnarrivals prstotal  i.year i.country , cluster(country)
ovtest
xi: reg lnarrivals pts i.year i.country , cluster(country)
ovtest
restore


* Table 5
xi: reg lnarrivals pandasum regpandasum  relativepandasum free pts reer i.year i.country,  cluster(country)
ovtest
xi: reg lnarrivals bnkviolence regbnkviolence  relativebnkviolence free pts reer i.year i.country,  cluster(country)
ovtest
xi: xtabond lnarrivals pandasum regpandasum  relativepandasum free pts reer i.year, robust
xi: xtabond lnarrivals bnkviolence regbnkviolence  relativebnkviolence free pts reer i.year, robust
